home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-11-14 | 1.8 KB | 34 lines | [TEXT/PICN] |
- This folder contains sample files related to memory monitoring in Icon.
-
- The files whose names have the extension .mem are allocation history files
- that can be displayed using the MemMon application included with the ProIcon
- 2.0 distribution.
-
- To see what a memory monitoring display is like, launch poetry.mem,
- which is an allocation history file produced by running rsg.icn from the
- Program Samples folder. You may wish to review the material in Appendix
- E of the ProIcon 2.0 manual before starting.
-
- Now launch pool.mem and singles.mem to see contrasting allocation and garbage
- collection from two other programs. (The allocation history file pool.mem
- comes from a program that simulates population growth; singles.mem comes
- from a program that does heuristic assignments of players in a bridge
- tournement.)
-
- The remaining allocation history files in this folder show the differences
- in storage allocation that result from the use of different data types in
- producing simple concordances. The programs all produce the same output;
- the differences are in how information needed is stored in memory
- during the processing of the input file. The names of the programs —
- concord_ … .icn — indicate the main data type. Launch the corresponding .mem
- files to see how much difference the data type makes. You may wish to look
- at the programs themselves: Notice how small the differences are. Notice also
- that some of the programs terminate abnormally because of inadequate space
- in the block region; this shows up as an error message in the MemMon legend.
-
- If you want to create your own allocation history files for these programs,
- the input used is in concord.dat.
-
- For more fun, try creating your own allocation history files. You can learn
- a lot about how ProIcon works and the significance of the use of different
- types of data. And you also can create fascinating displays.